package com.meepo.framework.design.text

import android.graphics.Typeface
import android.view.View
import com.meepo.framework.design.text.SpannableTextView.Companion.ITEM_TYPE_TEXT

data class SpanItem(

    val type: String = ITEM_TYPE_TEXT,
    val value: String = "",
    // text
    val size: Int = 0,
    val color: Any,
    val typeface: Int = Typeface.NORMAL,
    var onClick: ((item: SpanItem, widget: View) -> Unit) = { _, _ -> }
)
